Exercise 4_2_2: Plotting a Regression
Johannes Breuer, Stefan Jünger
Introduction to R for Data Analysis
1
Re-use your analysis and run an interaction model between your IV and the other covariate. Plot the interaction as a coefficient plot.
Clues
For the coefficient plot, you can stick to
easystats
.
2
Plot the interaction effect as a prediction.
Clues
For this purpose, you need the
plot_model()
function from
sjPlot
.